import {createRoute, dynamicWrapper} from '../../../utils/core';

const routesConfig = app => ({
  path: '/detail/data/:deviceId',
  title: '检验数据详情',
  component: dynamicWrapper(app,
    [import('./model'), import('../DataList/model'), import('../DataValueStatistics/model'),
      import('../Channel/model'), import('../../Hospital/HList/model')],
    () => import('./components'))
});

export default app => createRoute(app, routesConfig);
